<div class="sc-cnt-repositorio">
        
    <div class="col itg-mn-disciplina">
        <h2><?php echo $this->dis['DCP_NOM']; ?></h2>
        <ul>
        <?php foreach($this->menu as $row){ ?> 
            <li><a href="<?php echo $this->baseUrl($this->modulo.'/'.$this->controller.'/index/dcp_id/'.$row['DCP_ID']); ?>"><?php echo $row['DCP_NOM']; ?></a></li>
        <?php } ?>
        <ul> 
    </div> 

    <div class="content-tb">
        <div class="tl-pag">Conteúdos <a class="btn_nv" href="<?php echo $this->url(array('controller' => $this->controller, 'action' => 'editconteudo', 'id' => '')); ?>">Criar Conteúdo</a></div>
        <table class="nrmprd">          
        <?php 
            if(isset($this->conteudos))
            foreach($this->conteudos as $key => $row){ ?>
            <tr>
                <td class="border w100"><?php echo $row['CON_NOM'];?></td>
                <td style="width: 65px"><?php echo Datetools::amd_dma(substr($row['CON_DATHOR'],0,10));?></td>
                <td style="width: 50px"><?php echo substr($row['CON_DATHOR'],11,5);?>h</td>
                <td style="width: 50px">
                    <div class="cnt_btn_ord">
                        <a class="btn_ord" href="<?php echo $this->url(array('controller' => $this->controller, 'action' => 'orderconteudo', 'id' => $row['CON_ID'], 'ord'=> $row['CON_ORD'], 'pos' => 0, 'tpc_id' => $row['TPC_ID'])); ?>"><span class="icn_stup"></span></a>
                        <a class="btn_ord" href="<?php echo $this->url(array('controller' => $this->controller, 'action' => 'orderconteudo', 'id' => $row['CON_ID'], 'ord'=> $row['CON_ORD'], 'pos' => 1, 'tpc_id' => $row['TPC_ID'])); ?>"><span class="icn_stdw"></span></a>
                    </div>
                </td>
                <td class="bc"><a class="btn" href="<?php echo $this->url(array('controller' => $this->controller, 'action' => 'editconteudo', 'id' => $row['CON_ID'])); ?>">editar</a></td>
                <td class="bc"><a class="btn" href="javascript:void(0);" onclick="list_delete_msg_act('<?php echo $this->controller; ?>','deleteconteudo',<?php echo $row['CON_ID'] ?>,$(this),'<?php echo $row['CON_NOM'] ?>');">excluir</a></td>
            </tr>
        <?php } ?>
        </table>
    </div>
    
</div>

<?php //echo $this->paginationControl($this->paginator, 'Sliding', 'pagination.phtml'); ?>
 
